Centralize constants in a configuration object
Improve configuration
Prepare to print the beginTime
Display begin and end time
Draw the time line
Separate looping from drawing