moved template to index.html, added template, have not yet removed template from view class