Updated for v2 - Agave
What works:
- auth
- most of the IO