refactored by extracting tags and branches info
refactored data arrays
fixed problem with incorrect tag aligment on branches filtering