Refactored Person Recognizer. Removed dependency of the Database