added image import and broke image into data
finished the majority of the "main" function now need to implement other functions