TaskCtrl functions moved to service, Pre-firebase