use logger
restructure hook management
update trigger
update package json with smtp dependency
pipe docker output into log file