make tdehw a standalone shared library
cleanup includes