Add a main function.
Stub for #107