PSR-2'ing and implementing some basic form of format handling with API outputs

Also doing some webhook stuff to help WorldPay