Important modifications on server

Organisation multi threads for clients