Added tasks to gradle and moved the main code of UpdateCues task to the CueService so we can reach it both from cli.UpdateCues and cue.BgTasks