Algo should be ready.

Also added some stuff to TimeList and TodoEvent.