Javadoc for some classes

Added some description to some functions