Compact the code to AssignmentStore.setTopic
Update AssignmentStore.newParticle to update parents and children

The maps keeping track of the parents and children are now updated when
we look add a new particle to the mix