Refactored, big time. Board to FEN notation now supported.