uses slim for cconfig only if the URI contains /info or /control