Split game client and API