added some views and templates as well as initialized database