Change server logic fro saving image
change some style
remove old image shark api logic