Added code to the persistence layer

Added code to the persistence layer and to facilitate skipping in the
banking queues