organized code in MVC structure.