move Backend.getName to ErlRuntime
move getScriptId to runtime