Simple PHP RESTful router