restaurant model and controller