Implementing NextTrain handler

Huehuehue