Update database to use a separate table for tags.
Update server and client to use new database structure.