Refactored with a Simplex\Framework class handling the request