repository restructure