Moving api and db settings to configs

Using app/web configs now