Added server and client classes. Still incomplete