Refactor common OCR info and add cleanocr skeleton