move getData functions for prompt(s) into services.js