more work on tags, unfinished

Signed-off-by: Alexander Skjolden <alex@plastboks.net>