Major refactor of kio; Started work on downloading blockchain.