created templates & views