Adding templates and styles