PHP framework under MVC pattern