pub fn main()
Binary entry point: run the application and print an error message then exit on failure.