Refactoring TesseractViewController & removing more unused imports