add LinearDispatcher (incomplete)
throw error if model creation fails in specs
store the flow on the cart