persistent storage of tags fixed
refactor and add logging
refactor and logging brevity
cont..