moved config.h from interface to implementation