Uses the module name as namespace spec (Fixes #8)

This also removes some things that weren't being used in the library.