add server for class