reconstruct the project structure