use std::getline to get config info