Simple RESTFul API with Slim Framework