Switch to CMake
Add ScriptingContext constructor from custom state