Improve compilation
Adjust output format
Use option parser
Improve Stacktrace in case of an exception