Add docstring, remove unnecessary gitignore