added comment class and search api