Configs

Java uses configs now for DB and RabbitMQ.

Updated DB class to work with new schema
this should be a sample file