include boost libs
added support for command line options
saner error handling