Removing db config from code