Add order wrapper class, fix access control, handle produce json.