The whole concept of loading modules from java, which corresponds to Lua's package.loadlib(), makes no sense in Luan. Since Luan has direct access to Java itself, every module should be a luan file and it should call Java directly to add Java functions. This will simplify the code.