Improving the cosmic distance ladder. Distance and structure of the Large Magellanic Cloud