Implemented MVC architecture