store whole container representing the nested table inside of the
command

Static nature of C++ forced me to use templates. Bit frustraiting.