Implemented templates for views