adding registerCoreCss to api