removed unused optparser module
verbose function replaced by logging module; pylint