Backend API update

* Random game is now sent as a specific subgame.
* Representation will be sent as a single number. Transitions will be on
a certain form.