moved main.html into templates folder