Added distribution module to use assembly, fixed building order, hopefully fixed javadocs; added test module to test the api