Rearranged some code

Organized code a bit so reading html is a function under parsehtml; this way I can more easily work on attempting to connect to the care-tags site through cookies and such (wip).