added views and templates structure