Added comments to explain the server structure