kubectl: kubecfg rewrite for better modularity and improved UX