Start breaking out peer state machine logic