Added basic state machine to Dracula.