TODO comment on allowed version
first sketch of Cfg interface
naive, memory-only Cfg implementation for testing