[WiP] Bug 976223 - Service-related data persistence layer.

Obsolete PR.