add rest model controller