Implemented the shelve module