Refactor `.gitignore`
Update dependencies, use duo, refactor demo