Added code to the persistence layer

Added code to the persistence layer and to facilitate skipping in the
banking queues
Merge pull request #3 from IzzyRahaman/master

Added code to the persistence layer