What nearby settlement built ships for the Royal Navy?