Move various options out of `driver` into `config`
move {session,config} out of driver and into a new module session