pub fn spawn<N>(genparams: GenParams, notifier: N)where N: Notifier + 'static,
Spawn the engine thread