restructure repositories