Added config_t for pretty config parsing

Message variable is copied explicitly, so why not just pass it by value, allowing compiler to do move optimization (or for user to move it explicitly)?