my own framework based on a MVC pattern