added travis ci, updated events to use epoc timestamp and the corresponding changes in the template