This is Erlang code. I'm not fluent in Erlang, but I think it starts some Erlang processes and delegates handling of messages to one of those services. Every time this process receives a message it delegates the message to the next "child process".