big changes,
provided new functionality for theme mappings,
added tag factory, tag registry,
updated tests