DRY up namespace creation
Simplify namespace creation
Merge pull request #43 from muffinresearch/add-namespace-util

DRY up namespace creation