Simplify the module loading and consider dependencies module when loading another modules. Determine circular references