added javadocs, jar and how to run