refactoring mvc-concept.
refactoring mvc-concept.