MVC Pattern applied.