rewrote webCrawlerHandler as a template

made templates for crawler instead of print lines
made changes in hid.go file (checking for length of HID)