Added basic javadoc for all classes. Needs improvement