javadoc

added more to my javadoc and removed some unused code