Moved Core to its own package.