renamed Main to ImageAnalyzer