initial refactor api calls (does not yet work)
cleanup
Api calls with custom vars
added a general format function to tournaments and players.
Updated API
Merge branch 'refs/heads/f-api' into development