server program modified,

readme also updated