splitting code into ssmldata-part and macmini-part for the different servers (and adding some code for sending dataupdate)