modified the manager of server object in server
add decode code in client