Implemented multithreading for module loading