Implemented hand selection

Also added additional states to the state machine