How does the periodic work? 
Periodic boundary condition has already been implemeted in the boundaries under core. We are reusing the same code. 
Why we need the grid? 
The periodic bc needs a grid to apply the boundary condition. We also need the grid to go over the nodes on the boudanry
