add some directive templates and move other directives into their own files