removed unused Exception, pep8
removed unused GlobalConfig methods, pep8