finish adding the controllers and model