Creating a distribution module to produce the distribution archives.

Nowthe distribution is built in its own module, making it easier to integrate with JNP.