update gems
refactor state implementation of sgf validator
organised specs into unit, integration and acceptance