Added lib index. Updated gitignore