Cleaned up baseurl config
Added type config for databases