move static files to separate component and externalize css