updated styling. added api helper and event log.