Adjusted so that a module should now return itself from the function, instead of modifying 'this'.  This allows the creation of new constructors as modules since they cannot otherwise be assigned to 'this'