polished events.rb and changed data type of start_time and end_time to String