Separating out the wizard code to its own file.