Add price call, move rates call to own file and make functions to perform get calls to Oanda.