Add --reinitialize option and move project settings into ProjectSettings object.