Added a untested quest state machine