Initial commit of btcbasis.py