Added the background service registration API for use in TiShadow