update gitignore
refactor and improve logging