add clientmodel and server