Add `set_scheduler` function

The new function allows users to deploy a custom scheduler either by
implementing `abstract_coordinator` directly or by using the policy-based
implementation with different policies. Relates #140.