refactor state/board/piece/space to improve speed and reduce memory reqs
move generation fixed with new state obj