Generalize background service