Added dynamic class/function/method dispatch. All tests pass.
cpp_standalone is simplified.