That's only needed if commanded states becomes entirely unavailable.  At this point I have sufficient confidence in commanded states that we can assume it is there and keep things simple.  We *should* however ensure (in a reasonable time) that timelines and cmd states are available in sqlite form.

p.s. did you intend to put your comment as an inline comment after the `PYTHON_LIB` one?