Changed the communication system

communication from Server to Client is based on one JSON class. Needs
more work for the client!