adding thread, starting unit tests via make test
adding test for function wrapper
adding tests for threadpool
fixed sqlite unit test