Refactored GameLogic and Social APIs out into Minigame Scripts.