Scan tags, change groups work

TODO:
- Tag rules (tags exist once per group, tags only exist in one group)
- Make sure tag data structures are functional