mini framework for console applications in C++