Added templates folder to settings and index to url