added ability to specify namespace for objects created
removed double declaration
Merge pull request #5 from ajstanley/7.x

added ability to specify namespace for objects created