Can you teach me how to build a route first
Click on the link I gave you and start reading.
http://www.freewebs.com/dennislance/http://trainsimframework.org/develop/index2.htmlPart 1 by Kevin:
http://www.bvestation.com/forums/index.php?topic=2772.0Part 2:
http://www.bvestation.com/forums/index.php?topic=2773.0What you're trying to do is very complex for someone like you, who has no prior knowledge on this at all. What you're trying to do is like a kid trying to build a OS from complete scratch in C++ with having any prior knowledge on the C++ language. You must do your research and learn before you can tackle something complex. You are trying to rush everything without learning and in life, this won't get you anywhere.
Also, If you ever want to pursue a career in computer programming, this is a good way to practice memorizing commands.
From these 3 tutorials, I learned a lot from it. I can't make a route from complete scratch because I never fully read any of them, but modifications to existing routes are pretty easy for me. I've only built short routes to use as test tracks for trains, with 4 tracks, a couple of stations, 600 meter blocks as platforms and that's it. I suggest you try to build something like that at first then learn how to detail the route.
I'll be honest and Michelle does not really write great instructions. Some of her tutorials are pretty vague, so I suggest you read all three tutorials to learn as much as you can.