New sub-generators, UnitTests and configs extended

* Moved controller and model base classes to lib directory
* Moved controller sub-generator to controller-api sub-generator
* Added new controller sub-generator for view controller
* Edited UnitTests and Test config