Shifting around some internals.  Standardize Namespace handling, and
make Credentials interface manageable