Moved all core files to core package