Added image loading to the Main.cpp