started rewriting module loading engine