Basic command line argument parsing and command dispatch