redesign directory + config