Distributed system library for consistently replicating application reference data