added global process to keep router pids for the sd erlang version