Cloud Parse code common to both apps