Reimplement onConnect method as a command queue
Add view using index to list docs in insertion order