introduced configuration to prepare configuration extension
moved shutdown hook to root so that it can shutdown server correctly