Just a simple RESTful router in PHP