move erlang files to kernel.common