better version testing
moved server validation to server class