Packaging the code

Possible packaging for https://github.com/gcmurphy/pj/issues/4