reorganized example pages, added index

put example pages into /example, images into /img
added index.html in preparation for gitHub page
reorganized transition functions into animate object