Implemented client and server class. Code from https://www.youtube.com/user/codigofacilito?feature=watch and little modified.