REST interface for running distributed tasks in Erlang/OTP