Railway management program