Migrated logging functions from scilifelab repo
Added config file parsing
Build qscript-based Piper command lines