Introducing TimeProvider for migrating to a modern synchronisation architecture