Rename export module to global module

Improve the documentation a bit as well.