Added images gitignore and reimplemented validation