Added wiring for event listeners
Updated documentation