Wire main view to server data.