Move db properties into a config file