move config variables into new typedef