renamed main server class