Refactor code of project and model creation wizards