Adding `main` as an example.Fixes #239