Refactoring for multiple project templates