refine class name for stopwathces
added I/O and memory profiling hooks