PHP MVC implementation of contoller with request, before and after methods