Added command line functionality, though not for files yet.