move to new figo.io SDK API level

- using objects in more places mainly