A train schedule that writes inputs to a Firebase database and mathematically updates the time between trains.