adding templates and setting up url paths