Simplified harvesting for easier testing and harvesting only specific resources
Added vars for table names