code cleanup, use requests and blockchain's json api.
Add requirements.txt
Merge pull request #1 from AlcariTheMad/master

betterness