MVC pattern. Alpha version