Updates to use API v1
Merge pull request #1 from srchio/apiv1

Updates to use API v1