add a threading function
add pthread_exit
make logging library header-only
drop makefile
modify test suite for logging