Seperate class for master-server