Add akka state machine