remove redundant constructors, simply pass the config instance around