cleanup cpu-profiling code
added demo remote profiling