Remove core imports from root dir. Remove imports from platform dir.