Prepare benchmark framework and integrate it with command line tool (fixes #11)