refactored code and sanitized TpTimeline
removed DTimeline.py