update UniqueBase to include namespaces

* abstraction of control functions