moved server->client protocol into own class
cleaned up the apdtrigger and worked on the network integration