Put code into MVC format.