Server: base structure for server application