Moved drought code from Legacy directory to parent.