Specified some generic views for index and detail pages and added template folder for html templates