The Railcraft mod enhances the rail system in Minecraft. It takes it from a few simple tracks to a full-blown railway by adding more tracks, carts and even a train engine.

You can now do pretty much anything you can imagine with rails and if you like building trains and coasters in Minecraft, you’ll love this mod.

Minecraft Forums
Official Site