Fixed  #1, fixed #3, fixed #4, and modified create_topic for #2