Added ability to specify database config via yml file