fixed pip instructions in readme
moved most logic into an Exchange class