Rebuild project structure