resolves NamespaceBase to inherit from Namespace main object,
resolves extend function's namespace creation to not overwrite already existing properties on the context
Issue #5