[server][DataStoreFactory] Add a new class: DataStoreFactory.