added drag and drop functionality with images
completed sprite functionality