remove use Logger
Fix register shutdown function
Fix static file