adding storage of topics and metadata