Refactor to use Objects, define MyImage object