Basic RDBMS in C++