add future helpers, move ensureIndex inside dao