It actually works

Can pull documents from database.
Now, to push them.