Changes to ImageBean constructor
1. Added instance variable absPath which will point to image location on disk.
2. Added createPath() method which generates path according to extension.