Begin to refactor the queue listener from the DB access
Initial daemonized process