completed refactor of amounts and counts, hiding details inside model objects.
add a uniqueness constraint to tags and namespaces.
allow discovery of tags, retrieval of aggregates for tags and namespaces.