create flame chart base class, move profiler demo to examples/profiler