The MSToolkit library for clinical trial design