Vel factory function

def create(model_config, model, source, storage, phases, callbacks=None, restart=True):
    """ Vel factory function """
    return PhaseTrainCommand(
        model_config=model_config,
        model_factory=model,
        source=source,
        storage=storage,
        phases=phases,
        callbacks=callbacks,
        restart=restart
    )