TODO: Make automatic server choosing