Changed to regex to parse html, because it looks less clunky.
Removed more useless code.
Changed Map from HashMap to LinkedHashMap, to keep order of information/