Added some parametrization options so the class doesn't need to be updated with each java version and also for allowing the original tarball to not be in the module directory