update the client. remove useless files and make the client simpler