Updated to new api

closes #73
Merge branch 'splits-io-api-v2'