Implement MVC Logic