Small refactoring.
Introducing module references.
Introducing variable references across files.
Introducing namespace name reference. Small refactoring of tests.