Server and Client now working not yet clean neither fully tested

Server and Client now working not yet clean neither fully tested