added factory subgenerator
added directive subgenerator
added view subgenerator