Initial creation

Implemented the following feeatures:
* - Checks if the file exists.
* - Checks if the file is a file.
* - Checks if the file is supported using fifo class and file mime
types.
* - Checks if files extension matches its mimetype.
* - Makes sure that the extension exists.
* - Checks the filetype using the file header.
* - Creates the image resource.
* - Can return the image resource.

Note: Only syntax errors checked. No actual testing done yet.