directives

seperated all templates into directives