Created abstract classes for MVC