updated module subgenerator #8;

added initial view and template on module creation;
fixed issues with prototypes and primary router