Merge pull request #189 from mathjeff/namespaces

Extract module naming into an interface