adds namespacing to the modules structure