use coinrpc; fix issue #2
add a condition
fix the bug where different servers were not taken into account
fix issue #3
Merge branch 'ibrahimahmed443-use_coinrpc'. Fixes issue #2 and issue #3
added requirement for coinrpc