simple elegant user interface written in c++11