Thanks for the replies. Spool was what I am looking for, but it should be somewhat semi automatic, or have a enclosure and at least a rotor to retract it back inside the spool/reel/drum.
Right now, I fixed it with a two food containers attaching the backs to each other and finding a temporary spool like thing. Anything on the market is good, I searched online, but it seems to be little costlier for the work it does.
For now, I have fixed it some craft work, a permanent solution to this would be good as long as it is reasonable at cost.