Break out bitcoin library into separate python module.