add views and templates