Auto detect metadata
Update README
Merge pull request #1 from mizoR/Auto-metadata-detection

Auto detect metadata type