Configs

Java uses configs now for DB and RabbitMQ.

Updated DB class to work with new schema