move public header files to "include"
split into library and tool. fixes #9