own framework with MVC pattern