Implemented MVC and OOP design for building classes