Store topic in topic collections

If the topic is not in the topic collection, then it will store a new
record with the properties: topic, type.