starting to get all the old storage code ripped out

the node still depends on some of this for storing addresses, so i've moved the code into there for now