added deal model and controller