Finished the error message system, and the command line parsing