Modularized the code quite a bit, and created commonly used helper functions in the utils package to modify BeautifulSoup objects etc.