Pull out quest functions to their own file.