Refactored library to instantiate Bitpay with only the API Key, and include currency in createInvoice parameters like the other libraries.