Add print_error
Separate init of the parser from main to simplify inheritance (e.g. to add more arguments)