Working on basic API functions: modulesLoaded and moduleExports. TODO: more basic API functions.