adding the wrapper

addition of the wrapper + Makefile modification + cleaning of config.h