added basic models and directives. probably will have to throw away models