WIP tags: REST API addition

Addition of rest api for tags.
Still work in progress.
1. don't catch `Exception`
2. do rollback