added backbone of client program and server program