Command line argument parsing. Just modes for now