various gitignore changes and adding a lib directory