rename some interfaces and components to better match their semantics
refactor backgroundservice classes
refactor some BackgroundService related classes.