Framework under MVC pattern