Added javadoc for config class
Added documentation
Doc for event class
Adding documentation