Convert \Slim\Environment to non-static behavior