added saving and loading of timelines