Basic structure of BackgroundService