Code refactoring: added FaceDetectionUtils, IOUtils