Moved functions to parser.py

Moved the HTML parsing functions from objects.py to parser.py and imported them into objects.py
Allowed objects to be imported from top-level
Allowed objects to be imported from top-level