upload and catalog resources