Added support for import for global css and more perf improvement