add thread lib to rep

add thread lib to rep
add shell script for building applications

add shell script for building applications
add normal makefile

add test dir in Threadlib
modify Makefile for threadLib

modify Makefile
add tools Makefile