WIP tags: REST API addition

Addition of rest api for tags.
Still work in progress.