added all kinds of new web repo splitting logic