made directory for factories and directives