moved frontend templates to main view directory