Update README.md

Add documentation for subscribeEvent and triggerEvent methods