Added logger and profiler