adds rudimentary support for db building in RAM