Refactor project files