copied views and controller from sqlite version of site