Added log4j configuration parameter
Added answers to question
Added and optimized algorithms
Added modifier
Changed category test data
Added searching for categories
Moved JSON generation to separate class
Fixed wrong null check