got rid of the main method and regenerated javadocs