Started to create the javadoc and comment all the code