Added example rst file and example frontend tool using py_directive