Adding some command line arguments and documentation.