Changed the static variables to pointers, fixed bug in Parser::parse