Revert "git rm lib dir"

This reverts commit a47fe9a06250fc13faa916a0c89cf42e989ff515.
update gitignore to ignore lib except lib/bootstrap