Dynamically instantiated controller classes for Slim Framework