starting a cleanup, separated grid_map and main