Harnessing topology in photonic waveguide systems