Adding support for 'require()' and node.js-style modules (not node modules per se - just support for the same module semantics)