add tag model
refactor REST methods
Sanitize html