I know TrainCarts is a huge mod, if making a clone of the whole thing isn't feasible, just porting the linked minecart physics ala Linkart (Github, Fork) and doing a new rail block that can stop and launch a minecart or whole composition with redstone would be great already.