Implemented image save
Added more comments
Using ImageSet to load and save

Massive clean-up, code is much simpler now