separate out logging module and move it together with certutil to lib/
fix certutiil basedir
Move the Common class out
add flag to specify config file from cmdline