Added methods to use Sistrix API

Fixes issue #88.

If my other PR is merged, you can cherrypick the relevant commits from this PR. Thanks!
use a guard method to throw an exception (not a else block)