Add tag controller and tag object factory
- change source of masterId from $_GET to $_SESSION;
- add login security for tag rest action
Add database structures