A lincense manager written in C++