groundwork for qbs support
cleaner constructors
storage-independent tests