Move db specific things from ConfigManager into DbConnector

Also avoid throwing exceptions if db connection is not available on lifecycle start