Connect server to the model