Major refactor of kio; Started working on downloading blockchain.