Return a local module

Much more clean, and also a common pattern followed by those who write Lua modules.

Regards,
Roland.