html refactoring
templates dir
workers dir
libs dir
encoding helper to libs
filter old events