Added a LightningHandler class that takes in a Payment Provider Instance
Payment Provider Instances have to implement an interface
This allows us to add different payment providers along the go, without having to touch business logic. Simply add the Provider Class as module and switch out the Provider Instance in index.ts
This allows us to add different payment providers along the go, without having to touch business logic. Simply add the Provider Class as module and switch out the Provider Instance in index.ts