start refactoring of classes directory,file,imagefile and adding unit tests
added Image Package and Changed ImageFile to use the new ImageFactory for better testability