Correcting require to use function dofileNamespace instead of dofile. In the file "load.lua", table is now called 'files', instead of 'load, because Lua does not allow to use 'load'.