Split ScriptRuntime and ScriptInterface code to separate files.