Added networking state machine