Making module loading easier, fixing compiler memory bug