Moved getIndex from Board to MoveModule