Added config and mock BitPay integration for unit-testing.