added mongodb style filters (gt, lt, in) for memory, file persistence