Listing 6.1 Added the timeline controller action and supporting unit tests.