start moving config to the database where possible
move pretty_links and site_domain config to database