Update the deleter so that it responds with the correct failure reasons
refactor to provide more consistency and make the gli loader file easier to read and maintain