Allow the module to be imported by another application.

Wrap the main function in the typical "if __name__ == '__main__'" statement. This allows the module to be imported by another application without running the code during import.