link cpgf as a shared lib
split exec into separate shared libraries
add tools for convenience
add more valgrind suppressions