Move out Topic class into a independent file;Add some comments;Create a new file