Added module naming and namespace support for amd style modules