Adding  variable to parser construct method

One should be able to set cache path as expected.