added the command-line arg parsing logic, and the basic usage/help messages;