Simple C++ based license manager