Backend for text quest