Move communications to Server class