standard package implementation. Hacking https://github.com/srid/modern-package-template