enabled tagname search on index page
refactoring parser, adding tests