MVC php view engine implementation