abstracted out Rest services and Model behavior