Getting the trains working

Trains and call back done.