Added comments for image manager

It's good. We need to comment on everything we code for other members
of our team to be able to understand the usage for certain functions
and such.