moving event definitions to config
additional
fix
http host
fix