moved DB uri to the config