Working MVC Pattern implemented.