Initial commit for a working version with verification, settlement & refund features