Stying changes and made the get function of the goals service a promise