add Event class
refactor parser logic
update readme