Created profiler class for easy profiling

Created and implemented profiler class for easy profiling on basic
functionallity.