Implemented Blocks, some of the JSONizing

Not all of it is done/tested yet, haven't finished the JSON stuff