better registration of module in AMD
Merge pull request #7 from drewfish/amd-name

better registration of module in AMD