base server class!