Modified module name to match pep8, added debug mode option