added main class to demo profiling from netbeans