Added support for nested namespaces
Merge pull request #246 from nkt/fix-naming

Added support for nested namespaces