decoupled Phantom and DB logic from the router
added AMQP layer for scalability of many simultaneous phantomjs sessions