PCT-687: Make working perf schema worker prototype

Also PCT-716: Update QAN config form to support Performance Schema
Do we need any locking here? Because we don't have locking in run() function also.