Reorganized the examples directory (renamed to "samples")

Also added dispatch table examples.