Moved image loading off into a seperate controller