Added new files and implementing Thread pool