[IR] Uncluttered Interpreter by moving experimental code out of it

* Moved half-baked experimental profiling code out of interpreter
  into its own class.

* To be continued later.