first rounds of cleanup
more decoupling and move rmongo to jstore