Work-order server written in erlang