Set up a way to parse commands.
Finished part 2. Still needs a few tests.