Base MVC classes added

These base classes hold all custom code, main classes are now located
at the library with all main code that shouldn't be changed.