RESTful API implementation in PHP for Taskr