removed old distribution management
Added some JavaDoc comments