adding templates and static files