begining migrating timer to a service so that timer/restart works smoothly in the background