Persistence server

Added client and server.