support specifying class names in the constructors
rearrange html output, support html in cli again
support transactions by shortname on cli
switch database modes

remove distinction between pending_ and settled_ tables;
make it a database field instead.