Add the grid as a class to analyze the information of each frame
Modify the main.cpp to be ready to test