Configuration, EventLoop, etc in C++