update templates folder with index + add index view for main page