Added a basic state machine