Wrapped a bit more code around argparser.
Started using exceptions to handle errors.