auto config manager and gateway