add avg animations and add lib imageDataUtils