Basic uprofiler integration

Another approach to #7