Cleaned up code for creating a new project.