changed generate.go to reflect the new extern folder, added gitignore