Add maintenance page and optimize class loader