added main template, setup views, and urls