renamed a namespace.
added ShutdownHandler for shutdownhooks.