Revert to edde769afdaea5e8e96cc167b929795381c90ec0

This will prompt more cleanup in the future, but this is the last good
commit that @joshmh knows about for the blockchain code. The other code
didn't work as expected.
Add dependencies and bump version to 0.0.3