update gitignore and add some documentation