The model and logic without the front end.