Create New State Machine