Add gitignore and cached library