Added html config, extracted styles