move client and server files, modelName is now only static attribute
refactor socket to another file