Added the readServer method to make a mapping between IPs and departments