Change mode
Add get_timeline api call and small refactoring