Add all game actions for http. Code refactor.