That "Train" was a toy train by packer, and it wasn't all that interesting.
Then, make something so that when you approach a curve, you turn. Simple.
I put some thought into this, and unless you'd like to implement a loop that turns/repositions the train so many times a second that it appears smooth, it's not going to be pretty. I don't think it'll decide to arc to one side on it's own.