Working realtime TODO example, reorg and cleanup.