Using Helpers. Added settings. Updated allowedMoves handling