final commit

added the javadocs and finished