move ModuleBuilder from IDEA to kotlin