helper classes, utilities and stuff for virtdb