Adding utility function to build and apply operator as well as
build a xpl file.

The methods work by calling the tools as subprocesses.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>