added bootstrap script for linux/macx
added directory libs to gitignore
added -L for linux/macx, applied some reformatting