RESTful erlang resource manager