wrap the cursor in a com.mongodb packaged class