Implemented MVC architecture and added rudimentary functionality.