Adding handlers for HTML templates and CSS