modified examples, removed dups,
added some typescript module examples in test