How would someone go about creating a module to work with PaymentSense?

Ive looked high and low and just cannot find one, the closest im getting is their supplied PHP files to create the checkout page.

Really stumped!

I have my merchant ID and passowrd for my merchant gateway, then all the files to create the page within the checkout process.

Any ideas?