Added functions to parse command line options. Still need to write
functions for some of the commands and implements them.