Generalize terminology in core

This is in preparation to split the database sync and file sync into
separate extensions that build upon the core.