Moved image loading functions into class

This is the next step to get images reloaded when icon theme changes as we now have the loading functions in class. We are now able to recall them on icon theme changes.