Update .gitignore and add public/lib to tracking