please help with retractable sword

hey im makin retractable swords that become a staff by the blades retracting into the handles and the handles comming together and extending to make a staff. and of coarse the swords still have to move freely as too different swords and the staff has to move as if it were one object(kinda obvious but o well). this is kind of an unrealistic object but i like it anyway for some reason. if anyone can offer any ideas on how i can construct this or anything it would be greatly appreciatted.

this is what it looks like so far.

if anyone wants the .blend just tell me. i didnt want to add it right now cause im kinda tired right now and i just wanted to post this much right now while i have the time.