Commitm5

Updated data structures for getting images.