rename client folder, and add server code