javadoc almost done

probably have done fixing some minor bugs, but everything should works.
JUnit still to be done