I would like to know how to make a railway acceleration and control system.

I would like to know how to make a railway acceleration and control system.

This train is based on this video:

Welcome!
On Train Pawn