remove signal handler; prepare to use thread pool
change makefile structure