Modular game engine framework in C++