When Lee Kuan Yew became the first prime minister of independent Singapore in 1965 , he set about transforming this once-squalid seaport into a tidy industrial park by putting vice in the crosshairs .