Beginning of the background service and notification structure