Move gem root to core