Added extend() function to util, added src property to Image and Animation