Updated Master Process

Updated master to make use of library / new protocol.
Updated master to make use of database for persistent queues
Build memory queue on top of database