Add state transition code
Get naive state transitions to work for seller