Implemented module loading (currently not CommonJS compliant)