WIP tags: REST API addition

Addition of rest api for tags.
Still work in progress.
No `assert`s, where is the party?