Created a seprate class for threads
Objectivised the code
Fixed the class names for the logger
updated ReadMe file
Created query array