Added reset method for grammars, now we can parse multiple files in one program execution. Added test for mdp parsing.