first version of mongo model and collection
move to extensions