Moved input and output files to init.
Implemented the processing method for SearchTopics.
Adds output to JSON and a test.
Refactors test case to read data from resources.
Adds tests for SearchTopics processing.