improved nuspec integration and refactored namespaces