Updated the main class to pharse the string. Preparing to enter in grid.