added views and templates