Added thread dependency
Added requirements.txt