added topic model class