Added functionality for searching by tags and managing tags.