Adding model.Exits and a /exits resouce for restapi