Work in progress.
1. Refactored how the time list is created. It is now created on the fly.
2. Updated demo for testing.