fixed issues with modules reloading multiple times
corrected import of basemodules in modules/*