General cleanup.

- Main files renamed to coincide with project name.
- Examples moved to their own sub-directories to avoid multiple main() declarations.