added extraction of detected face (will be important for face
recognition); some resturcturing