Adding views and templates