Initial working version with meta data.

Removed all exif info parsing and re-indented the code.