made the getting data class usable, added image generation class