Finished code for creating topics, need to test now.

Have to test the topic creation.