Create server and related sub classes to generate server config