baseserver class