Add FaceRecognition class for code refactoring.