Added events. Started adding in proper javadocs.