Update to Storage class

Added throwing of exceptions. this.task changed to Common.task => making
use of global arraylist of tasks defined in commons.