updated client to handle provisioning and also refactored quite a few things.
Integrated OIDC into the client.
Everything's untested right now.