Move to using a database for configuration
Moving main views to SQL backed models.