Initial work of the unified namespace.

It does not include the work of storing metadata to leveldb yet, which will be added in the next pull.