Extracted module loading code out of util and into module_loader.js. Added a basic test