Created a struct Image to simplify the code
Added the .gitignore