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