Making a seperate database config file

According to https://github.com/OSDG-IIITH/courier/issues/1