Moved some logic to the game module instead of in image object