created collections, and created data models for client and server