Experimenting with c++ inheritence. Not reached goal yet...