adds templates and static files