Train class added, train locomotion implemented