move all headers to libshadow.h