process: add Erlang-like processes