Replaced static with private variables

This change allow to use multiple instances of the parser