rename appmodel to ScriptingModel