moved the root into module-code