cleaned up options parsing and logging initialisation, TODO: smt_info and smf_info