moved main template file to templates folder