Reworked the analyzer interface to work correctly with the latest version of SmartTpl

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
How about we return the usage in case some option is missing

And outputfile - will now write directly to stdout.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>