create root_path and modify layouts