moved config from lib to config namespace