Train control and supervision