Added rail network basic code, for getting position on track quickly