Some helpful classes crafted in c++