RESTful API finished

But I'm not really sure if that is RESTful..