Move start_server to the top and explain why