A basic controller for Slim framework similar to CodeIgniter