Slaves are now objects

And can be updated with some more generic methods. Added also some
simple identification based on MAC address (so we can check if that
machine connected to the server before).