Added functionality to make ~/.dl/packages.json and update package list.