migrated core, ts tests mostly running, executables not yet tested