First working client-server realization. (Has bug with clients disconnecting)