flat kili loader; streamdb init