updating Database methods, and cleaned up HTMLParser for public push