Added a simple state machine for handling the begin portion of hand shaking.  This uses the workflow gem, which is now integrated.