MVC pattern implementation for Slim Framework