Better command line arguments.

Input file is passed as a mandatory argument, everything else is optional and set by flags:
-c for compiler (pdflatex, xelatex etc.)
-o for output file name.
Everything after -- is passed as arguments to the compiler (with the already provided input file as last argument).