Changed configuration option to enable/disable profiling

Set Cofiguration.enabled to false to disable functionality, set it to true to
re-enable. Default value is true.