Entity-Component System framework in C++