Add support for math in quests.
Add functionality to edit quest.