Add PID template on account of #8

Needs to be refactored into Java