Completed major refactor and new block handling and data type system.