code cleanup
Emit 'create' on new subdoc
Add list() to get all subdocs