change visibility of interface and preprocessing in OCR package, added
memory package and database