Implement a ui for tags. Cleanup.