move core package to main