Parse cloud code for a betting app