rebuild project structure