Adding a payment gateway

What would be involved in adding a new payment gateway to the Membership plugin? I'd like to add GTBill.

Can I just copy one of the existing gateways (i.e Authorize.net) and add in the GTBill info?