Add GetResource method to Vessel class
Update example script