Bringing GUI to MVC pattern architecture