Moved core files to the core package.