Addd getter ans setter for resources directory
Move some code to an abstract
Remove getter/setter for directory in favor of getters/setters for images
Rename failure image
Cleaning