wip: db concurrency
wip: swap template functions for std::functions
wip: back running at least..
right sort order