Add lib folder

.gitignore was ignoring lib. I cleared out all the patterns I don't
need.
Check for updated_parsed before using it
Spelling fix