Added some basic caching of the dom html
Added integrity checks for the cached html
Abstracted the Node class as it should have been done in the first place