[TASK] Streamline addModulePath and addModule registrations