rename root into core