support group by date
refactor the event model
bug fix
add deployment config