Moved DB config to config file