In the 1970s and 1980s, it became clear that commodities like oil, while a boon for nation's economy, can quickly become a headache.