added event api
readme changed