make the core C API a module (rather than a global), remove the late binding bullshit from svars