*8094* Move template to pkp-lib