Added imagine library as module dependency.
Removed file type reader to move its functionality into metadata reader.
Renamed extension validator to type validator.
Refactored metadata reader to implement file type reader functionality.