The Moving Object Pipeline: discovery & tracking of trans-Neptunian objects