Make Config class do the work of converting string configurations to classes