client server using centralized class to handle calls