interface: remove config.h from headers

header file should NOT include config.h,
it may create different class interface between library and client.