domain: WIP remove all domain code from native

Compiles, but will not run.