Beginning of the documentation

Doing javadoc and stuff