Ironed scheduler and trigger API (relates to #35)