make bigstore backend agnostic, refs #1