Added Profiler integration and updated makefile.