Set up most of the project.