make config file an opt, use logging in harprofiler
use a config file for tests