Namespaces and module env extended (can now retrieve the namespace a module is
originated from)