Added mediainfo for extracting metadata; code cleanup
updated