added the Event api
added travis-ci